/*
 * @Description:es6变量
 * @Author: admin
 * @Date: 2021-06-09 17:12:03
 * @LastEditors: admin
 * @LastEditTime: 2021-06-09 17:18:38
 */

// var a = 9;
// var a = 10;

// console.log(a);

// let b = 11;
// // let b = 15; // let不可重复声明变量
// console.log(b);

var a;
a = 5;
let b;
b = 6;
a = 7;
b = 8;
const c = 9;
// c = 10; //const声明的常量在声明时就必须赋值，之后不能修改
console.log(a);
console.log(b);
console.log(c);